Add documentation, misc cleanup