Hi Alex
Thanks for giving us access to the code - Sam and the team will access this and evaluate this for use in Totara.
I have created an account for you for helpdesk.totaralms.com - you should receive an email invite. if not login with your email as your username and select the forgot password.
regards