Added --replace support, changed design
Added example in docstring
Merge pull request #3 from MarounMaroun/replace_support

--replace support