All molecular modeling programs generally need to know what are the atoms in all residue types, what are the atom pairs that are covalently bonded to each other (i.e., molecular topology), and what are the ideal bond lengths, angles, dihedral angles, and improper dihedral angles (i.e., internal coordinates and stereochemical restraints). This information is stored in the residue topology and parameter libraries, which are manipulated by MODELLER scripts using the libraries class.
Note that unlike other MODELLER objects, in this release of MODELLER there can be only one set of topology and parameter libraries. Thus, you will not need to create a libraries object directly, but instead deal with the environ.libs variable instead.
For commands dealing with generating, patching, and mutating molecular topology, see the model class reference, in section 3.6.