Initial cut at the server / slave. TODO.