Moved settings/inputs.js functions to FSM prototype

It makes more sense that way.