change client deploymant structure
fix some issues with php