Accelerometer logic

Adding UIAccelerometer logic to Formation