change main class configuration