handling required files with autoloader