Surface Functionalization And Ferromagnetism In 2D Van Der Waals Materials