add missing initialisations + gitignore