Create binding programatically

@nminchin gave some pointers on how to achieve that:

I think this could help you