Adding server

Adding server code and Barney's JSON classes