nit picky formatting
removed global variables and created default route