Started redoing interfaces and documentation, and did some reformatting.