Made Autoloader functions as static
Added a static method

Added static method for getting cache file name and the changes required
Fixed a Blunder
made getController method static

Also added a check for cache files