Core: Added PackageManager class in handler
Bugfixes