Added GPS and Accelerometer functionality