Demo of using the class system to create a class and inherit from it, along with

still being able to call parent methods

Also making sure references are cleared before closing the script, so
that we don't try to unref on a null lua state