Rearrange scaler code. Add a Dockerfile and pod spec for scaler.