added pages/index and more organization of appliation views