Re-organize editor source files