extensive changes to settings files, postgres db created