refactoring worker side data package