Added rails model and controller for listing