Refactor: migrated tasks.coffee to class based controllers