Renamed files and refactored code into a somewhat better structure. Reference the new file names from index.html.