Method to populate Course table in the database interface added