upgrade to bsddb3
add gitignore