Tidy Configuration
Tidy code in Main