Association cache

I know some work has been done on this by @antico5 and I don't want to step on any toes here, but as a working example, and maybe a continuation of discussion, this fixes #25.