Revert "did everything except moodle linking, sahil you do it"

This reverts commit 0e55f936e81b54e69df0b6532024eb8298fa32c2.