Moved examples, cleaned up debugging, added documentation.