A basic class to make queries to the Prosperent API and parse the responses