Created Main method