add fight service and change some database logic.