remove provide function and use autoload script