Improved Loader to load core classes from vendor directory