I reckon by your post that you're probably using Classes as a repository of functions with no real realtion between them. (I might be wrong, so sorry if I'm just jumping to conclusions)
Classes are extremely usefull and are the base of OOP.
Using an extremely abusive analogy:
Imagine something like a PaperSheet.
A PaperSheet has properties like Size, Color, Shape, Material.
You can do stuff with a papersheet like write something in it, fold it in a origami (=P), etc..
So using programing language:
PapaerSheet is a Class
Size, Color, Shape, Material are variables, proprieties of the Class PaperSheet
Write_Something_In_It, Origami_It are functions of this class
To perform Write_Something_In_It you just need to provide some text, but to perform Origami_It you will need to provide more instructions, since making a Swan is different of making a Toad.
SO, coding it would be something like this:
<?
class PaperSheet {
var $size;
var $color;
var $material;
var $shape;
function Write_Something_In_It($text) {
/// Some Code
}
function Origami_It($OrigamiShape) {
if ( $OrigamiShape < $this->$shape ) {
echo "You can do the origami";
} else {
echo "You can't do the origami";
}
}
}
?>
So PaperSheet Class defines what a Paper Sheet is and what you can do with it. And since there are lots of idenctical Paper Sheet in your office, every time you grab a Paper Sheet from the stack you "create" a new Object of the Class PaperSheet.
You can even create 100 PaperSheet Objects (named differently, of course) and store them in a cabinet (array).
Now, the variables you see above should only make sense in the context of a PaperSheet, and should only be used in the context of the PaperSheet class.
Smae goes for Functions.
If you have other classes like Table, for instance, that also has a size and color, it doesn't make sense if it has a size of an A4 sheet.
And you shouldn't be able to Origami a Table (although if you could, that would be awsome).
So, in an OOPL, Classes are extremely usefull as they not ony wrap relating code, as they give a more intuitive way of using it.
Hope it helps