renamed project files.
some cleanup of the code and warnings.