Separated twitter stuff into a new module, general improvements