Split sample app in common/WP parts, moved design stuff around to make it easier to use.