Re-implemented config module