Remove uncessary ResaleYieldRestService, and fix bugs for compile