Finish Database.search() (closes #19)