added subdomain support in code
added subdomain support documentation