Added the creation of text files and logic blocks

Starts #5