Added sample, and change exception to more descriptive one.
Removed useless files.