Added classes for Domains and Tasks. Meooow