Fixed fucking data serialization and inheritance, i hate serialization with a fiery passion :D
Also added a permission object, likely will be re factored to make things make more sense later, it was just to abstract things.