Updated app in line with new Book updates: remove ownsDocument, renamed views to templates, started updating errors package"