Updated ControllerThread with basic command execution logic and added requirements.txt