Created script for creating database