moved any mesh stuff from core to init