work in progress on simple subdomains
First go at handlig multiple subdomains