Added treasure class and capturing for player