enable usage of callbacks

I included a getCallbacks method so we can send and render callback functions dynamically in the template.