Use more object-oriented approach along with knockout bindings for mode viewer interactions.