Refactored the complete library for Kohana 3.3 to make it a clean usable library