Inputview

re-factored input view and server
We should probably start handling (or at least logging) errors