Generation, Modulation And Detection Of Light In Lithium Niobate Nanophotonic Devices