improved and moved command object up to clsql (out of cl-postgres-socket3)