moved the proxy in to its own seperate class and added interfaces for the ui updates. Also added some xml to the layout.