structure creation into 3 packages : client, server and tools