Design, Manufacturing, and Testing of Planar Optical Waveguide Devices