db setup and fixes
removed schema