many changes, db config, pooling, services. finally working