Initial sqlite database creation code.