Moved some methods from tomato.py to the library and added documentation to the methods.
Merge pull request #789 from swuest/CleaneUp_CLI_V2

Cleaned the cli and added documentation