Add a BasePages controller
Finish base pages