Refactored, list commands

Refactored code into modules.
Added list_docs, list_projects commands.