Engineering Functional Microcapsules for Controlled Cargo Delivery