added tree for client
fixed some files and got npm install working properly