Split run loop manager into base and implementations.
Adjust build.