added a few files from the last thing
added a bunch of the old code