Updated rest api routes, rejiggered bb app