Add create database script
Change default config database host to localhost
Refine createTable scripts
Some updates