integrate client with web server from tryout repo
reorganize server side