Initial doob internal structuring, finalizing io's main structure.