Fixed API issues, added sorting, moved to Mobileclient
Merge pull request #9 from DanNixon/recode

Major refactoring and move to Mobileclient