Improved transition of old linked setup to moodle directory. Also updated mysql.