OBSConnection...

This commit refactors and updates OBSConnection.