Add a vertex buffer class.

Supports only static data for now.
Replace vertex buffer with a generic buffer.