Huge amounts of framework work

Worked very hard to get all of the framework done, now it's time for
debugging and getting a nicer UI