Updated the API to match new specs

Referred to
https://github.com/iteloo/the_island/wiki/Server-client-interface,
updated the API to match this format. Unable to test due to Python
problems.