Reworked examples and added some tutorial doc