Controller: Added the update and register methods for the observable.
Now we can build the gui and tui.