create controller and rename socket