moving app configuration to its own configuration class