major refactor: dropped $resource for $http, ithf search only does one db call and decoupled controllers some