Remover dependency on filelog.h from Plan.h
Added forward/backward transform support