refactored routing of web requests and reverted erroneous change to index, and deleted spiked js