Refactor Workoug Generator into utility class