Refactor twitter into submodule