Initial split of Sensor and Host code