Updating to use latest SensorManager library
Bug fix
Re-organise structure