Making the application's configuration a class
Adding applicationConfig and securityConfig