Extract zhdk_integration into gem; refactor db-login for ansible