add main file with require config