A Framework for Self-configuration in Manufacturing Production Systems