Refactoring.
Added editor scripts.