Added endController and framework for the connectionController