Started using EventBus

Implemented two Helper class to get rounded or squared Gpio Pins and
created a Factory class to retrieve the correct implementation