Convert exported function to a factory

We needed a quick way to make sure Mithril doesn't get included twice
Rename repo
Bump version