Restructuring the way the pages are located and including nodejs as server along with dependencies