Implemented observer-pattern for OS. Did some documentation.