Created separate CI controller & library for Attendance
Removed attendance function from CI Events controller
Simplified library function names