Adding Main class.