refactoring robotsim and actuator classes