changes to app
moved client to external file