Added Domain and other new functionality for visualization