Working on associations between resources

Refs #8.