add function to create sprites
add position updates for the player