fix bug in locating views and allow passing data to the views
update readme