Cleaning up the application configuration code into a bootstrap file.