Shift general datastructures into config package.