Creating connections classes and settings stuff and adding lib.