Main class configuration