Updated models

Some general additions to realm models and regular models.
Bookprocessor also slightly updated