Use malloc and memset instead of calloc
Add a helper function for launching clients