Added new QuartzMain class.