Continuing work on the tutorials from the book. This commit contains all done up to now