implemented map-domain command
[Finishes #56749940]

Signed-off-by: David Stevenson <stevend@pivotallabs.com>