extending autoloader to check local directory first