The motor_commands.py file has the class for the motor commands The user_input.py file has the keyboard input code The additional methods (turning speed, parallel park and k-turn) are in picarx_improved.py