updated start_controller.py to receive the inputs with interrupt