Restructure lib into server/client/common parts. Remove built in jsoncpp
lib
missing files
gitignore fix