[PATCH 1/5] server: Move shared memory initialization out of create_class.