added ER diagram, db table queries, c++ fns

->er diagram was made using google tool
->mysql table creation queries were collected in one place
->c++ functions to add subjects to a batch were added