Adding references and resources