Adds CustomBiMapper

This is a far more elegant implementation of a Bi mapper. PR #12 should be closed in favor of this one.