A few custom libraries for CodeIgniter