added checkDependency method to plugin class
added dependency check
Merge remote branch 'origin/master'