Overhaul

- moved javascript out to its own file
- made it a single page application
- added a start and stop button
- general javascript cleanup and whitespace
- style overhaul
- decrufted some files