Add plugin loader for class directories