made class generic and added RewardStorer & MwtLogger as derived classes for #63