first working catalog loader implementation