Adaptiveware Runtime Interfaces and Implementation