moved http_classes to module level