Create setter and getter for model on controller