code added for tournament controllers, data models