main executor - core of application