Adding controller and server