Split package into server and client packages.