update docs
made the console use the API
fixed indentation
Merge pull request #2 from AliceCengal/master

Using the server API