implemented correct dependency loading of classes, interfaces, and paths