locale_editor: moved lot of methods into submodules