Added page api routing
Merge pull request #272 from Bladrak/pageApi

Added page api routing