Rendering

removed obsolete stuff from funcs.lua

Added glew

implemented vertex buffer rendering