Made changes to model to adhere to Realm requirements. All class attributes must be private and nop support for Integer moved to int. Also use @RealmClass annotation to get error messages.