In order to create a new class, you need to use the extend method, like this:

Nuclei.extend([ClassName], NewClassConstructor,[OptionsObject]);

ClassName: A string containing the name of the class you wish to extend.
Optional, because each class has its own extend method.

NewClassConstructor: A named function containing all the methods for this
class. These methods should be assigned to the this variable, and should also
be named! This function will be executed immediately and will not be re-executed
upon instancing a new object. So anything in here will be shared by all
instances.

OptionsObject: An optional object containing special configuration. Mostly
used by internal Nuclei stuff.

This is basically the same as extending the class, but it is used to overwrite
the class you're extending.

You can even overload a class that does not exist yet.

Nuclei.overload([ClassName], NewClassConstructor);

ClassName: A string containing the name of the class you wish to overload.
Optional. If the class does not exist yet, it will be overloaded once it does.
Warning: Does not affect already existing instances.