a lot fixes

new tables, catalog, routes, views, models