How would I wrap a character and his skills?

So let’s say i have a character class system, I am trying to wrap a character own client and server for it, i mean, i probably can use janitor or maid to do it, but i don’t think that’s a good way, right?, I heard about metatables, but what would be the best method here to create a custom wrapper for a character (i also will do that when the character dies, the wrapper disappears), so if someone knows a method on what i want to do,i would really appreciate it, or steps

(Sorry if i am not good at explaining that well, if you need some extra information i can tell you)