Added observer pattern
Merge pull request #1 from Konboi/observer

Added observer pattern