CYB-50 starting on creating the API infrastructure.  Tests need to be refactored so that error condition results are generated by a FakeAPIRequest object (which needs to be written), and more test acases added.