Split the code in two prohects: client and server (part 1).