Add subdomain contraint class and url helper