rename listener.go to manager.go