adding command cosntruct container, refactor get-db-url api