Replacing $app[orm.em]