Replace old configurable button settings with a new system that uses a dictionary to store all the necessary values.
Remove set button references and instead use the new BUTTONS dictionary.
Replace old door opening logic with generic door opening logic.
Add support for the new configurable buttons.