- refactored code, common patterns are now private methods
- added support for interrupts
- added support for interrupt configuration
added methods to get information about the interrupt pin and pin value
added interrupt example