replace controllers and views file