Update .gitignore.
Refactor things around and add tut 02.