added directory client and server