init controller and proxy file