split source code on client and server folders