Replaced the use of the Core object in plugins by the ServiceLocator. Refactored logging features from Core to another class.