Initial version of the ResourceMaster controller