changed ui rendering, created setter init for player and ui