Updated to pep8. Added commands.py
Minor updates