initial work on client & server