Decide filetree and add .gitignore