Control of reactions and network structures of epoxy thermosets