Add a Main class