Chemical engineering of polymer production of flexible functional materials