Adding new modular sensor script

Will break down into sections for Arduino