A database based course and homework management system