Add controller and action factory