Refactored track_commit

split it into 2 distinct functions
Renamed app.coffee into repo.coffee