remove /lib, change to use postgresql, update config to look at app.settings