Add Main class