Added Legacy Support

Added temporary support for the legacy randomizer. In addition, I’ve
added the IO class which will have a bunch of helper methods for input
and output.