Added Main method and class.