working version

working: split, merge.
to do: translate to english
working versions
changed some comments