structural changes to arduino class to better implement multiple controlled devices