First pass at dependancy tracking