move player component into app directory