created DB and all the needed tables, even used foreign keys