Tips on organizing class files

I recently started to use class files here and there. What are some tips on organizing them.For instance I am thinking that a class for textfields would be handy since coding a textfield involves quite a few lines of code.

Any suggestions on this subject would be appreciated.