Impemented port and socket-based JSON-based file watcher and client