Main Method of class Main