Updated Model to latest changes in Object. Added a Db object as delegate, for now