Add support for associations

Added basic support for associations. No classes for associations yet I figured It was best to keep it simple until something like that was needed. 

This also fixed the failing tests that were caused by attempting to call new on an already instantiated adapter. There was also an issue with the configuration for the default adapter carrying over after the test that caused tests to randomly fail.