Move config types into their own package