split the application into 2 corresponding parts

to have the server and the client side separated