Updated gitignore.
Added doc gen script.