Remove referece implementation.
Add reference implementation as submodule.