database .class now works with several WHERE statements
a bit more work on addGrades
forgot the A_I in grades_table
addGrades works, few error messages added