Port NycBinLocation to Groovy

Port NycBinLocation to Groovy