Database connection and a closure model
script to create database
move scripts to lib folder
Merge pull request #1 from jc-2/master

Database models