first version of touchDetector module - compiles, not tested