finalized sensor handling with test random sensor
added gitignore