Completed connection of template to server.
Created complete raw_text_to_words function.
Added add_word_list_to_statements function (not needed by now).