Separated instanciation from connection