Fix CHB and get basic autocomplete sort of working
Refactor resource code and add service layer, use promises
Finish refactor, fix some bugs - mostly working state now