[eluser]nuwanda[/eluser]
Of course you can use a library (a class).
In CI, a model is an extended class, just as a controller is. If you want to create a library(a class) and load it in a model or controller, it'll work just fine.
Frankly, in CI, I create classes simply for one of their most powerful reasons: encapsulation.