main class execution