That's a lot of code to read through. You should probably try to start with just a camera and a basic shape (without any shaders or buffers or whatever) and expand from there step by step. Running such complex code as yours usually never works at the first time.
Thanks for the reply first of all.
Secondly, I've ""learned"" the basic GL concept with WebGL, what I need (for many reason that are boring to explain) is a 1:1 port of my WebGL code to OpenGL.