split into common, client, and server libs with corresponding worldserver and worldclient