refactoring asset packager