Added improved code examples

Signed-off-by: Morten Laukvik <morten@laukvik.no>