Energies of Knots, Residues of Manifolds and Related Topics