Fix compiler errors and warnings

Obviously the compiler doesn't like it if namespaces
and classes sound similar. Also he doesn't like it
if a project referenced to does not exist.