[multi][core] Move functionalities of multi/core into core