add db init script
bug fix: in 'has' logic
refactor
bug fix: convert single item to a list of one, in stash
add a reservation to db, for test
adding fix to 'has' so that it detects missing parameters and sets has to false (in progress)