Readded netcat - is used for waiting on the the port open
fix sql and make more readable
include postgresql on build all