Input management

It would be interesting to revisit input management on algorithms and analysis blocks and try to factor out code that is repeated everywhere into a simpler interface.

This bug shall be used to track advances on this field.