Postgresql DB ready

To start the server, you need the postgresql install first
Add session and execution db relation