Add resources and gitignore.