remove dep on agent
setup logger