Migrating database connection method from PDO to Moodle data API
Added database XML