Originally I thought this would be used elsewhere, and I felt like a class seemed like a good idea, but I have no problem with them being a series of functions if the class structure seems odd.