flesh out pinning object, needs tests and cli wiring still