Added factory method for controller