added DB stuff and Player class