Added some lua examples and a few api bindings