Split example into own file

Accompanied by minor updates