Added a pretty print function to the fakehelper and cleaned up a bunch of code