Refactored Main's start method and extracted methods out