Improved docstrings and comments, expanded on the usage guidelines in readme.md so that they cover all three commands provided.