The start, stop, register and unregister commands now work. Should probably develop some tests...