Made VBO a template class  so it can handle a user defined vertex format automatically.