added the database creation script

This script creates the database as well as all the required tables