Biopolymers as drug carriers and bioactive macromolecules