used config.json file to differentiate between testing and raspberry environment
used config.json pin to track map in hardware adapter