Move some classes from FwUtils to BasicUtils and CoreImpl

Change-Id: Iee42145223938692606f64c1946ec7884c249367