moved client code to it's own directory.  moved client functionality to front end