Working on updating and refactoring the plugin for CakePHP 3.0