setup database and made some entries