Main class. Entry point of application