Refactoring and adding new pressure sensor