dynamic importing of plugin directories

Needs documentation.