Code cleanup, added tutorial link