add implode and injectgroup options
fixed issue if only one result is present and unknown var
init plugins class
added helper class
added core class