added methods for managing packages; lazy loading for config