Implemented TCP listener. TODO: Convert text based commands, to JSON, and JSON responses to text.