[eluser]wiredesignz[/eluser]
This is terrible code, both the library and the helper methods are acting as Models and the Library is also creating HTML.
Firstly a View can access a Model directly, CI even assigns loaded Libraries and Models to the view loader for you.
You should both really rethink your application design.