server & client module structure