Begining wavefront object loading code.