Added views for catalog
Added logic for the catalog