Biochemical and structural studies on proteins involved in the production of natural products and degradation of polysaccharides