Created a factory class generating the vertex buffer data.