Create associations between components and models