added model for player resources
fixed failing constructor test