fixing bugs and refactoring  fetch tweets handler, improving it and add
tests