modified base model and base controller so that they can link to multiple views / models