Tuning The Electrical And Optical Properties Of Two Dimensional Materials