Created Main class.