Partly reimplemented Timeline Model and Controller.

Changed Model and Controller interfaces, implemented appropriate logic.