First implementation of old API with ORM and separation of User, Domain and Service