Split the scripts.
Added VertexCache class.