Tons of stuff

Rearranged a lot of things and made a few small changes to interface
Added accelerometer and magnetometer support because orientation sensor is deprecated
Almost fixed both PictureCallbacks