Changes to improve resource loading, to move ko.model and rv.model as a separate stand alone modules