Added form function and .gitignore.