add player model and some code implementation