separated app into client and server folders