passing eventpump to Master constructor