changed name of IConnectionInternal to IConnectionCallback
pulled connection constants into new class