added a view and some basic routing