changed routes and backend API for ease of use with backbone