CMify and legacyfy the repo