add tests
 - clean up server.py
 - abstract core search out so it can be mocked
 - mock call to api
 - mock get one back
 - mock PUT to load