Framework for non-local Green's functions in main