added database and util file