Move things from the constructor into the domain.
Add a command event that fires off when a client sends a line.