decouple db from server, integrate server results into DOM