Changes the main class to solve the problem it was designed to. Also created some basic classes from the refactoring to make IO and Regex benchmarks