Solitary waves and macromolecular systems