changes controller and links it with boatclient