Add ENABLE_DEBUG flag at debug; Add triangle sample and GLEW initialization.
Add Log function