Inputview

re-factored input view and server