Started work on implementing modes and stuff. Also some rotation!
Merge branch 'v2' of https://github.com/ningrassia/marsproject into v2