added config and implemented code  to use doctrine-entity-manager and persists routes in db - but uuid not available on flush