changed the file structure to seperate components from pages