Added helper function for creating buffers.
Made shaders work.