Synthesis of Polymeric Nanoparticles for the Controlled Release of Hydrophobic and Hydrophillic Theraputic Compounds