moved client package to client module