Fixed compile error. Added automatic initialize on Bind() and tests for it.
Added Cube sample.