moved main class