using variables instead of fixed paths
improved error reporting and fixing #2193
cdm-server as separate project