First full-code commit. basic Mod Substructure