frp: distributed frp code some cleanup
frp: distributed frp code cleanup