add twitter and restful controller class