added the subdomain method and the autoload and override attributes