Reorganized folders for javascript code.
WIP: divide the huge angularjs controller moving code to separate services grouped by related functionality, each service in its own coffee file.
WIP: better structure angularjs code by moving related functions to angularjs services.