Added commands.py to handle editing