Added .gitignore. Added observer pattern