Keep DRY with common client/server library - libscheduler. Worker prototype added