make Plugin model tableless and switch logic to file based handling