Refactoring of PresentsSensor
New gpio plugin