Removed unused keys, refined mdmflexiserver