updated wavefront, start to do some changes in resource loading