add relay controller
add relay-test
add relay to crossvers
refactor with composite profiles
fix bug