Added usage examples, Fixed issue #1