Split embedded implementation.
Add build and test system.