Implemented basic functionality including Sensor input