Untested implementation of opening issue.

Also put testing in the cooling, harder than I hoped for how.
Added main for running MagnetoCLI

Some tries to list repos failed: Repos does not allow this.