improved Bindable interface, generate conforming code. Change map based api to array based, add struct name argument