Use manual ResourceConfig instead of GuiceFilter
Inject a template directory
Add PageMessageBodyWriter
Add PagesController