refactored tutorial and added table of contents