fixed file reading problem under msvc, compiles now however GenericFactory does still somehow not work (it does not fill the map with the class names),
fixed some msvc and linter warnings