Created Main class