Adds associations and initial validations