Added scaleUpdateByKey method. Refactored fairscale into separate file.