Building macromolecules one bond at a time (Gromacs empirical forcefield for COFs)