first approach towards vuln detection plugin, added new features for the plugins and general cleanup