updating rails
removed some unused files and updated the js
annotated models
finished the update to latest rails