move orm mapping to config/doctrine