Removed /lib folder
Added /cache folder
Refactored controller to remove pass-by-reference implementation
Updated example to replace pass-by-reference with return