Nonlinear Optics In Nanophotonic Structures