General updates 07-26
More codecleanup and work on documentation. Still needs more work on that part.