Added new method for connection and select method
Revert "Added new method for connection and select method"

This reverts commit 95f9988345b5716d8a0d248fbcb81e9f96467040.
Revert "Revert "Added new method for connection and select method""

This reverts commit dae41139167ac8c6b3d38050ddc63aa291b0acc7.
Revert "Added new method for connection and select method"

This reverts commit 95f9988345b5716d8a0d248fbcb81e9f96467040.