created sensor controller and its files