First draft of pairs functionality.
Merge pull request #67 from toomuchpete/pairs

First draft of pairs functionality.