code for accessing different modules (ultra sonic, thermalstat, etc.) in Raspberry Pi