Added Main class