Added call to initDB when the DB  is created. Also added "IF NOT EXISTS" to table creation statements.