Added color to the PrimitiveBatch vertices, organized code layout