Created the controllers and changed the domains