Big update! Now supports the Mahgeetah server. Most of the code has been refactored so as not to be redundant.
Merge branch 'release/20140927-1306'