Data-Driven Modeling And Control Via Koopman Operator Theory In Robotic Systems