refactoring, add controller for twitter support