init server and client sub module