Added Main class.