Add Application class

Signed-off-by: Wadjetz <egor.neon@gmail.com>