added http wrapper class for easier communication