Rake task and custom code

Hi

I have some classes I’ve created to perform some work on my site. I’d
like them to be usable in my Controllers, and MORE specifically in my
Rake Tasks.

Where should they be used so when I require / load them they are found?

Thanks.

lib