Split package to client and server part