Update inputs

Adds code to the inputs library.