config factory skeleton