added the pageController

This PR aims to implement the GET routes to retrieve the data in JOSN format.

Notes:
- after you add the routes you can test them by running the following command:
`php app/console router:debug |grep api`