Add ServerAPI class. Add request and parsing JSON.

Add ServerAPI class. Add request and parsing JSON.