added plugin interface for deviceplugins. so far only static plugins