Updated the basic flow of generating a page and added some classes