added /lib/db. Rename _g to server.