move configuration api from internal