Remove Main class and add main method to SchedulerConfiguration class