0.7

Split classes from CLI functions, improved docstrings, and made some
small changes.