[EntityManager] Fixed the compiling issues and began to implement methods of config so we can get info from config files.