sets up basic routes and firebase ref