add WeighInController, api setup