The present invention relates to a software module, and, especially, relates to a software module for integration having severe restriction on the available memory amount and the real-time operation, and provides a software module for integration having increased inheritance in software. The porous nib in the device contacts the sample, collects the sample, stores the sample, transports the sample inside its porous matrix and releases the sample from the porous matrix upon demand. The optical switch may also provide a low insertion loss and low polarization loss in the common optical channel during power-on conditions. Associated methods are also disclosed. In some embodiments of the present invention, the surface of the biodegradable polymer matrix can be modified to target a specific scar site.