More doctrings.
Added .gitignore file