autoload main file