New variable for inputs

The paramaters on the function "result" now they are a variable of the
component class