Add connection. Refactoring heders.