Extract static class from ObjectGen
Move some members from MapperGen to AssemblyDirectoryInfo