Finished writing the basic framework, and got it outputting a file