rename global agent struct

rename global agent struct from logr to agt due to naming conflict to global remoted struct logr