Update gitignore
Rewrite configuration