add unfolding code and gitignore files