Split config out to a separate module