Add BaseDomain class to be parent of all domains