2 create controller for page model

Fixes #2