Inputview

re-factored input view and server
Consider combining these two lines