Iteration4 attributes associations

Adds initialization code for attributes and fixes some association issues.

Passing Jenkins: https://76.230.139.159:8085/job/kevinTest/6/

Part of #48