Moved main class