Put the functionality of downloading tweets into a separate class and put the chunk-generating functionality in more concise way, also fixed url routing