adding lib, lib/db, server, client