changed some private methods to class methods
moved trigger method from private to instance
separated matrix out into plugin file
fixed url