Refactor command.py.
Add licence to top of each file.
Merge pull request #26 from kwurst/feature/cleanup

Feature/cleanup