Create database on startup if it doesn't exist