fixed todo
and created a new class ("player")