FIX: Fixed instantiation of repository class. Now using object manager