modify controller and add some configs file