Configuring the application environment before registering console commands.