Put business logic into the same class an MainWindow but in different source files. Added conversion between scripts, but currently only to Cyrillic is implemented.

Signed-off-by: Xiaomao Chen <xiaomao5@live.com>