refactoring: devices

problems when loading plugin in gazebo