move internal config outside of public