start on Groovy loader func
start on callbacks for Groovy example (broken - need to reimplement in terms of a bean)