Revert "Revert "Added Input library""

This reverts commit fc92d118eab31c3a307ae501b2777689a8f1b6fc.