Passing messages to a new view

Added a new view, moved old view to a mockui file. made a view.js file
to add UI methods to from client.js