Added basic framework for pages