create handler class for domain context model