Add routes for the api

I think this is mostly what we talked about in #5. If you get a change to pull it and run `rake routes` let me know if things look right.