Refactor: extract main from package and create module to search the tweets