Adds model and view