fixed error in conenction management, added depency versioning