Fixed wrong code
Now successfully caching results
Reworked the code in a unique module