Associations

Implementation of #3