Fixed reference to resources.
ResourcesManager implemented. Field "prepared" added to processes.