A CMS backend implementation for mir