Added classloader.lua

Added classloader.lua to enable abstracting class definitions to a
separate file