made some changes to better integrate the tutorial into the current documentation