function Registry.new(c)local T={class=c,objects={}}setmetatable(T,{__index=Registry})return T end
--[[
    Creates a registry for the given class
]]
function Registry.new(class)
	local self = {
		class = class,
		objects = {},
	}
	setmetatable(self, { __index = Registry })

	return self
end
