Creating Main class