Now MIT-licensed, more comments, and cleaned up.

Old files were removed.