Add Lego dependency and make files