added basic server, sends json when queried