renamed folders and rewrote server to em-websockets