Moving to object oriented
Fix plugin creation