A module is a loose grouping construct used to group functions and
procedures. On the other hand a class is a plan which is used to construct
objects (instances of the class).
As modules are imported automatically (so you do not need to qualify the
functions' names by the name of the module) I recommend to use them if this
effect is desired.