set up commits route
modified data model so that I'm no longer relying on a session var
set up commits model and api call