connection class change

properties, and one method done