Added lots of features. There are several bad bugs still - but the basic functionality works. Ish.