API and tutorial

READ THE TUTORIAL AND UNDERSTAND THE API