[IMP] refactoring. the package service take out from package management, and as a standalone application