getter and setter for the db path