Added functionality for creating new catalogs.