Add .gitignore and fix module setup.