Completing the Standard Model with right-handed neutrinos and Z'