Modified OSCore: implemented calling of resourcesManager.