cleanup connection
[Finishes #80230310] replacing functional blocks
add back singleConnection_ logic
Merge pull request #165 from code-dot-org/functionalBlocks

Functional blocks