iOS accelerometer support

We can eventually move it to separate file + feel free to make any adjustments :)