Start to flesh out the worker and also the server API