moved code into server and client directories and set up the project to use automake