Clarified Model / Controller functions
Split functions specific to hash.html into hash.js