add directory for client and server