Here begins the horrifying refactor. Added a storage class which will
handle all IO operations. Code is no longer functional, after this
point.