improved parser with functional 'load_all' method