style fixes
move routes to their own definition
indent changes
whitespace fix
change 404 message
added form