add hook for autoloader for libraries base on classname and filename