Electron-Phonon Coupling From Gw Perturbation Theory And Electronic And Magnetic Properties Of Novel Two-Dimensional Materials