Moved logic from web service to android with slab rates json as input.