changed to Balloons:db debug namespace
passing app and db objects to routes exposed function
starting redefining routes and some helpers