Refactored PageController to properly use dependency injection, closes #5