Changed implementation of ftsensor data structure (Still very very ugly)