Connect to database and create three tables
Connect to database and create 3 tables