refactoring
added configuration & usage examples