Method Development And Mechanistic Investigations of Nickel-Catalyzed C-N And C-H Functionalizations