Use structures folder inside the mod directory for text files, and split the code in a separate script