Fixed memory leak.
Now executes code every 5 minutes as intended.
Added EDoc documentation.
Will upload the exports.