rearrange sample runtime, include Runtime.Core dependency