separate mint out into mint and mint-impl
Merge pull request #762 from dwightguth/mint

separate mint out into mint and mint-impl