add chunks and generated_text tables, add text to chunks table