Added domain module.
First implementation.