files updated slightly. Domains.php controller removed as not required