New tweet generation + refactor of code