fixed provisioning
refactored / separated common dockmaster functions, added first scheduler test