common modules among server and clients