Move .gitignore in impl

The files affected by the gitignore are only in impl, the gitignore
should be there