Fixed entity mapping

Added autoloader for necessary classes