Added indentation to json, basic server implementation