add mainscene class