Add openDatabase and Database

openDatabase opens a bug database if it exists.