adding RuntimeCommon

from detached source code.