Refactored the custom sample.
Added search parser + tests.
Added config of leading sign.