fixed issue with coffeescritpts
refactored models
added helper. refactored controllers
added missed controller
refactored policies to use coffee
added utils helper and refactored statistics