exclude files needed for phpunit
check if we have a cache file defined before using it
moved service provider loading to the loader