Implement Connection with sigleton pattern