setup database to documents folder of project