reworked sensor class, now much more flexible

still need to add support for grapevine, but most of the groundwork is layed out (but commented out)