Remove entity manager

Add ObjectRouteRedirectRepository and ObjectRouteRepository.