Refactored appconf into its own class
Refactored appconf into its own class