added clientApp and hostApp.js