Kernel class

Kernel class.
Works as API, or kernel part of the program.
Has main method, and utilities for the program.