Simple interface for defining call backs with Source code listener