major refactor, plugin package, misc renamed to utils