restructure contrib; move example out