more cleaning and refactoring of controllers and helpers, cleaned out doubly called jsons,removed various puts', and overall housekeeping.