makeMaster function

Make a master object given a definition