Built all new main class