Ditch the LEGACY and use CM for now

This may be reverted once the build system gets established