Create database on startup if database does not already exist
Detect and create missing tables