restructured examples and added hello world example