some clean up and we need to keepp track of created devices and clean up when we destroy controller