adding connection and helper classes