Database component with Orm class included