Refactor: migrated search.coffee to class based controllers