made all paths dynamic for connections and get scripts, and merged express and socket io on same port