feature: added choice of database hostname to persistDB.