refactor, split ledis pkg to ledis and server