Add connection class, parsing of json, parsing into request object