Added base files with preliminary logic borrowed from Mongoid#has_and_belongs_to_many.
Stubbed models for specs.