first step integrating socket and flask server files