Added project file.
Fixed warnings in MSVC