Relocate command to command/__init__.py prior to breaking out into seaprate classes.
Reorganize command module and subclasses.
Relocate cli.py to cli/__init__.py prior to class reorganisation.
Refactor evn.config: add awareness of postgres, site and repo databases.