Progress commit. Update worker is now robust and I've implemented the basic API framework. Authentication next, followed by migration of search and lookup code into APi.