Creating your own runtime manager