Got the Postgres to finally work
Lots of fixups + finished views
simple fixups