moved all interfaces for model objects into Realm.h