Added catalog tools

Added tools for managing the catalog: Import, Export, Generate PINs,
Geocode
Plus minor fixes