moved common/lib to client/lib