Added HTTP class that handles get and post requests.