Modifying Loyalty class and object to include module data