has_many and belongs_to macro for Plain Ruby Object.