moving connection view to its own component