Added lock and gitignore.