added doc and tutorial