Updated SQL create script
Corrected DB create script and the entities, created the DB, wrote most of the DAOs