*Changed whole system to not use references making it work the same as WHMCS hooks.
*Updated readme and reformatted code