Application and main frame.

Signed-off-by: zhogar <zhogar@mail.ru>