ref #6903 cleanup and refactor distribution editor
ref #6903
Fix service handling and refresh problem for distribution table
refactoring package structure