clean up the connection class
flag system working for ind kata flag shuld work for the rest of flag cases