Move config contents to main class