Added block function for motors. Code refactor for motors functions name