[server] moved module loading to create_server()