simplify things

- add doc block
- method getInputSearch move to abstract class