added several routes, converted routes, and debug mode (which is awesome)