Moved sample to a directory of its own and improved the documentation.