added tournament PUT, code cleanup, added some TODOS