added pages directory and moved pages to it