Added Commands file, moved python code to seperate directory