Set headers in model instead of view
Remove now unused DataModelAdapter

Fixes issue #9