STUB: introduce input filter

Newly added a stub of input filtering feature.