added http class