moved RemovalJob to scala