Merge pull request #11 from dimagi/clean-up-api

Clean up api + Heap size fix
Merge remote-tracking branch 'origin/static-tags' into autostaging
Merge remote-tracking branch 'origin/update-jar' into autostaging