seperated tcp and flask version for now
Changed to tcp for now