move playerstate enum to the rightful module